<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width"/>
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>统战成员学习平台</title>
    <link rel="stylesheet" type="text/css" href="../../css/base.css"/>
    <link rel="stylesheet" type="text/css" href="../../css/style.css"/>
</head>
<body>
<header class="red">
    <div class="ui_border_b">
        <span tapmode onclick="closeExamWin()" class="left"><i class="icon_back_white"></i></span>
        <p>答题</p>
    </div>
</header>
<script type="text/javascript" src="../../script/api.js"></script>
<script type="text/javascript" src="../../script/vue.min.js"></script>
<script type="text/javascript" src="../../script/common.js"></script>
<script type="text/javascript" src="../../script/layer_mobile/layer.js"></script>
<script type="text/javascript">
    apiready = function () {
        api.parseTapmode();
        openfrmFromWin({
            frmName: 'exam_frm',
            bounces: false,
            pageParam: api.pageParam
        });
        api.addEventListener({
            name: 'keyback'
        }, function (ret, err) {
            closeExamWin()
        });
    };

    function closeExamWin() {
        msgUtil.confirm({
            title: '提示',
            msg: '正在考试中，确认退出吗？',
            buttons: ['确定', '取消'],
            yes: function () {
                api.sendEvent({
                    name: 'reloadPlan'
                });
                api.closeToWin({
                    name: 'plan_details_win'
                });
            }
        });
    }
</script>
</body>
</html>
